﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PluginManager;
using System.Windows;
using Microsoft.Practices.ServiceLocation;
using UserPermission.View;

namespace UserPermission
{
    public class UserPermissionController : IPluginNames, IPluginView
    {
        private UserPermissionView view;
        public UserPermissionController()
        {
            view = ServiceLocator.Current.GetInstance<UserPermissionView>();
        }

        public string PluginName
        {
            get { return "用户权限管理"; }
        }

        public string PluginID
        {
            get { return "userpermission"; }
        }

        public int PermissionID { get { return 32; } }

        public DependencyObject View
        {
            get { return view; }
        }
    }
}
